﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>地址管理</title>
    @Scripts.Render("~/bundles/jquery")
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <link href="~/Content/Cleaning.css" rel="stylesheet" />
</head>
<body>
    <!--选择联系人;-->
    <div class="chooseContacter mainContainer">
        <ul style="height:92%; overflow-y:auto;">
            <li class="addressItem">
                <div class="liMessage">
                    <p>
                        <span class="name">熊志明</span>
                        <span class="phone">18046711523</span>
                        <div style="clear:both;"></div>
                    </p>
                    <p class="address">广东省深圳市宝安区西乡街道榕桥楼</p>
                </div>
                <div class="liEdit">
                    <span class="left setDefaultAddress">
                        <span class="selecter noSelect">&radic;</span>
                        默认地址
                    </span>
                    <span class="right">
                        <span><span class="glyphicon glyphicon-pencil"></span>编辑</span>
                        <span><span class="glyphicon glyphicon-trash"></span>删除</span>
                    </span>
                    <div style="clear:both;"></div>
                </div>
            </li>
            <li class="addressItem">
                <div class="liMessage">
                    <p>
                        <span class="name">熊志明</span>
                        <span class="phone">18046711523</span>
                        <div style="clear:both;"></div>
                    </p>
                    <p class="address">广东省深圳市宝安区西乡街道榕桥楼</p>
                </div>
                <div class="liEdit">
                    <span class="left setDefaultAddress">
                        <span class="selecter noSelect">&radic;</span>
                        默认地址
                    </span>
                    <span class="right">
                        <span><span class="glyphicon glyphicon-pencil"></span>编辑</span>
                        <span><span class="glyphicon glyphicon-trash"></span>删除</span>
                    </span>
                    <div style="clear:both;"></div>
                </div>
            </li>
            <li class="addressItem">
                <div class="liMessage">
                    <p>
                        <span class="name">熊志明</span>
                        <span class="phone">18046711523</span>
                        <div style="clear:both;"></div>
                    </p>
                    <p class="address">广东省深圳市宝安区西乡街道榕桥楼</p>
                </div>
                <div class="liEdit">
                    <span class="left setDefaultAddress">
                        <span class="selecter noSelect">&radic;</span>
                        默认地址
                    </span>
                    <span class="right">
                        <span><span class="glyphicon glyphicon-pencil"></span>编辑</span>
                        <span><span class="glyphicon glyphicon-trash"></span>删除</span>
                    </span>
                    <div style="clear:both;"></div>
                </div>
            </li>
            <li class="addressItem">
                <div class="liMessage">
                    <p>
                        <span class="name">熊志明</span>
                        <span class="phone">18046711523</span>
                        <div style="clear:both;"></div>
                    </p>
                    <p class="address">广东省深圳市宝安区西乡街道榕桥楼</p>
                </div>
                <div class="liEdit">
                    <span class="left setDefaultAddress">
                        <span class="selecter noSelect">&radic;</span>
                        默认地址
                    </span>
                    <span class="right">
                        <span><span class="glyphicon glyphicon-pencil"></span>编辑</span>
                        <span><span class="glyphicon glyphicon-trash"></span>删除</span>
                    </span>
                    <div style="clear:both;"></div>
                </div>
            </li>
            <li class="addressItem">
                <div class="liMessage">
                    <p>
                        <span class="name">熊志明</span>
                        <span class="phone">18046711523</span>
                        <div style="clear:both;"></div>
                    </p>
                    <p class="address">广东省深圳市宝安区西乡街道榕桥楼</p>
                </div>
                <div class="liEdit">
                    <span class="left setDefaultAddress">
                        <span class="selecter noSelect">&radic;</span>
                        默认地址
                    </span>
                    <span class="right">
                        <span><span class="glyphicon glyphicon-pencil"></span>编辑</span>
                        <span><span class="glyphicon glyphicon-trash"></span>删除</span>
                    </span>
                    <div style="clear:both;"></div>
                </div>
            </li>

        </ul>
        <div class="btnContainer">
            <button class="btn" id="tencentCheck">添加新地址</button>
        </div>
    </div>

    <script src="~/Scripts/PageInit.js"></script>
    @Scripts.Render("~/bundles/layer")
    <script type="text/javascript">
        $(function () {
            $(".setDefaultAddress").on("click", function () {
                $(".selecter").removeClass("selected").addClass("noSelect");
                $(this).children(".selecter").addClass("selected");
            })
        })
    </script>
</body>
</html>
